package ynu.edu.online_course.service;

import ynu.edu.online_course.entity.UserRole;

import java.util.List;

public interface UserRoleService {
    List<UserRole> getRolesByUserId(Long userId);
    void addUserRole(UserRole userRole);
    void deleteUserRole(Long userId, Long roleId);
}
